package com.rmb.api.service.impl;

import com.rmb.api.dao.OrderDao;
import com.rmb.api.entity.Order;
import com.rmb.api.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * @author zhao
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired(required = false)
    private OrderDao orderDao;


    /**
     * 查询
     * @return
     */
    @Override
    public List<Order> findList() {
        return orderDao.findList();
    }
}
